LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_ARM_MODE := arm

LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \
                    $(LOCAL_PATH)/src \
                    $(JNI_H_INCLUDE)

LOCAL_SRC_FILES := src/NdkBuildTest-jni.c \
                   src/NdkMathTest.c

LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays

LOCAL_MODULE := NdkBuildTest
LOCAL_PRELINK_MODULE := false

LOCAL_LD_FLAGS += -L$(LOCAL_PATH)
LOCAL_LD_LIBS := -llog

include $(BUILD_SHARED_LIBRARY)